package com.dykj.fireFighting.api.socialUnit.devicemanger.service;

import com.dykj.fireFighting.api.base.system.entity.SysDirectory;
import com.dykj.fireFighting.api.base.video.entity.Video;
import com.dykj.fireFighting.api.base.video.vo.VideoPlayVo;
import com.dykj.fireFighting.api.socialUnit.devHis.entity.CrtVo;
import com.dykj.fireFighting.api.socialUnit.devicemanger.entity.Device;
import com.dykj.fireFighting.api.socialUnit.devicemanger.entity.DeviceTree;
import com.dykj.fireFighting.api.socialUnit.devicemanger.entity.TopRuiBean;
import com.dykj.fireFighting.common.core.service.IBaseService;

import java.util.List;
import java.util.Map;


/**
 * 设备管理-智能设备
 *
 * @Author fgc
 * @Date 2021-06-22 15:55:39
 */
public interface IDeviceService extends IBaseService<Device> {
    Object getDevicedetails(String relationId);

    int importDevice(Map<String, Object> params);
    Device getDeviceByRelationId(String relationId);

    Device bigDataDevice(String id);

    List<Device> getList(String unitId,String deviceName);

    /**
     * @param devHisId
     * @return
     */
    Device getByDevHisId(String devHisId);
    List<DeviceTree> getDeviceTree(List<SysDirectory> devSysType, String unitId);
    List<DeviceTree> getDeviceTreeVideo(List<SysDirectory> devSysType, String unitId);
    VideoPlayVo getVideoByDeviceId(String deviceId);
    CrtVo getCrt(String deviceId);
    String getDeviceStatus(String deviceId);
    String getIconByDeviceId(String deviceId);
    String getEscapeRouteIcon(String deviceId);

    void editTopRui(TopRuiBean topRuiBean);
}

